//获取id
function gId(field,ero){return '#'+lmsSbRecordleaveId+'_'+ero+'_form_'+field;}
//页面启动时
function lmsSbRecordleaveonload(){
	
}

//打开新建页面时
function lmsSbRecordleaveAddOnOpen(){
	eSet(gId('recordLeaveEmployeeId','add'),'--保存后自动生成--');
	eSet(gId('recordLeaveLeaveDays','add'),'--保存后自动生成--');
	eSet(gId('recordLeaveLeaveDate','add'),'--保存后自动生成--');
}

//打开编辑页面时
function lmsSbRecordleaveEditOnOpen(){
	eSet(gId('recordLeaveEmployeeId','edit'),'--保存后自动生成--');
	eSet(gId('recordLeaveLeaveDays','edit'),'--保存后自动生成--');
	eSet(gId('recordLeaveLeaveDate','edit'),'--保存后自动生成--');
}

//点击新建按钮时
function AddBtnClick(){
	return true;
}
//点击编辑按钮时
function EditBtnClick(){
	return true;
}